<#assign c = JspTaglibs["http://java.sun.com/jsp/jstl/core"] >
<#assign fmt = JspTaglibs["http://java.sun.com/jsp/jstl/fmt"] >
<#assign sp = JspTaglibs["http://www.springframework.org/tags"] >
<table class="resultTable" *ngIf="tables"><caption><@sp.message code="table.list"/></caption>
	<tr>
		<th><@sp.message code="table.code"/></th>
		<th><@sp.message code="table.name"/>
		</th><th><@sp.message code="table.groupName"/></th>
	</tr>
	<tr *ngFor="let table of tables" 
	(click)="selectTable(table)" [class.selected]="table.isSelected">
	<td>{{table.code}}</td><td>{{table.name}}</td><td>{{table.groupName}}</td>
	</tr>
	
	
</table >

<br/>

<table-datas *ngIf="selectedTable" [tableCode]="selectedTable.code"></table-datas>
<message-box [isRunning]="isRunning()"></message-box>